package com.si.anddos.library.provider;

public interface ServiceProviderListener {

	/*
	 * Download
	 */
	
	public void downloadStart(ServiceProvider provider);

	public void downloadWait(ServiceProvider provider, int time);
	
	public void downloadProgress(ServiceProvider provider, long size, long downloaded);
	
	public void downloadStop(ServiceProvider provider);
	
	public void downloadFinish(ServiceProvider provider);
	
	public void downloadFail(ServiceProvider provider, Throwable throwable);

	/*
	 * Upload
	 */

	public void uploadStart(ServiceProvider provider);

	public void uploadFinish(ServiceProvider provider);
}
